<!doctype html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>EDIT_YOUR_WORK</title>
	<link rel="icon" href="../image/icon.png"/>
	<style type="text/css">
		#editMain{
			background-color: #ffffdd;
			padding-top: 20px;
			width: 800px;
			height: 800px;
			margin-left: 17%;
			border-radius: 2em;
		}

		#editContent {
			background-color: #fab3b9;
			width: 700px;
			height: 650px;
			padding: 20px 0 20px 20px;
			margin: 20px 0 50px 30px;
			border-radius: 2em;
		}
	</style>
</head>

<body>
	<div id="editMain">		
		<div id="editContent">
			<h2>编辑日志</h2>
			<form method="post" action="../index.php">
				<input type="submit" value="返回日历" name="submit" />
			</form>
			<br />
			<?php
				error_reporting(0);
				$d_value = $_POST['create'];			
				echo "
				<form method='post' action='editSuccess.php'>
					日期：<input type='text' name='day' id='day' value='$d_value' readonly='readonly'/><br /><br />
					<textarea name='info' id='info' cols='80' rows='20'></textarea><br /><br />
					<input type='submit' value='提交' name='submit' />
				</form>";
			?>
			<p>注:不支持换行</p>
		</div>
	</div>
</body>
</html>
